package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;
import java.util.List;

/**
 * 项目对象 projects
 * 
 * @author ruoyi
 * @date 2020-12-16
 */
public class Projects
{
    private static final long serialVersionUID = 1L;

    /** 项目编号 */
    private Long pId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String pName;

    /** 工程编号
 */
    @Excel(name = "工程编号")
    private String pNumber;

    /** 负责人 */
    @Excel(name = "负责人")
    private String pUsername;

    @Excel(name = "施工班组")
    private String  constructionsection;


    /** 项目成本 */
    @Excel(name = "项目成本")
    private String  pCost;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pDate;

    /** 项目状态 */
    private String pState;

    /** 施工班组 */
    private List<Constructionsection> constructionsections;

    private String beginPDate;

    private String endPDate;

    @Override
    public String toString() {
        return "Projects{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pNumber='" + pNumber + '\'' +
                ", pUsername='" + pUsername + '\'' +
                ", constructionsection='" + constructionsection + '\'' +
                ", pCost='" + pCost + '\'' +
                ", pDate=" + pDate +
                ", pState='" + pState + '\'' +
                ", constructionsections=" + constructionsections +
                ", beginPDate='" + beginPDate + '\'' +
                ", endPDate='" + endPDate + '\'' +
                '}';
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpNumber() {
        return pNumber;
    }

    public void setpNumber(String pNumber) {
        this.pNumber = pNumber;
    }

    public String getpUsername() {
        return pUsername;
    }

    public void setpUsername(String pUsername) {
        this.pUsername = pUsername;
    }

    public String getConstructionsection() {
        return constructionsection;
    }

    public void setConstructionsection(String constructionsection) {
        this.constructionsection = constructionsection;
    }

    public String getpCost() {
        return pCost;
    }

    public void setpCost(String pCost) {
        this.pCost = pCost;
    }

    public Date getpDate() {
        return pDate;
    }

    public void setpDate(Date pDate) {
        this.pDate = pDate;
    }

    public String getpState() {
        return pState;
    }

    public void setpState(String pState) {
        this.pState = pState;
    }

    public List<Constructionsection> getConstructionsections() {
        return constructionsections;
    }

    public void setConstructionsections(List<Constructionsection> constructionsections) {
        this.constructionsections = constructionsections;
    }

    public String getBeginPDate() {
        return beginPDate;
    }

    public void setBeginPDate(String beginPDate) {
        this.beginPDate = beginPDate;
    }

    public String getEndPDate() {
        return endPDate;
    }

    public void setEndPDate(String endPDate) {
        this.endPDate = endPDate;
    }
}
